package com.framework.loippi.envsupport;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

//用户环境信息
@Data
@EqualsAndHashCode(of = {"sessionId"})
@ToString(exclude = {})
public class UserEnvInfo implements java.io.Serializable {

    private static final long serialVersionUID = 8074996525791721275L;

    //(value = "线程ID")
    private String tid;

    //(value = "会话ID")
    private String sessionId;

    //(value = "用户IP")
    private String clientIp;

    //(value = "用户IP信息")
    private String clientIpInfo;

    //(value = "用户代理类型")
    private String userAgent;

    //(value = "请求域名")
    private String domain;

    //(value = "用户TOKEN")
    private String token;

    public UserEnvInfo() {
    }

    public UserEnvInfo(String tid) {
        this.tid = tid;
    }
}
